from PIL import Image
import numpy as np
from skimage import io
import matplotlib.pyplot as plt
img_0 = Image.open("x_8bit.png")
img_0_info = f'img_0 type:{type(img_0)}element type: {img_0.dtype} shape: {img_0.shape}'
img_1 = np.array(img_0)
img_1[0,0] = 255, 255, 255
img_1_info = f'''img_1 type:{type(img_1)}
img_1  shape: {img_1.shape}
img_1  element  type: {img_1.dtype}'''
io.imsave('x_out.png', img_1)
img_out = io.imread("x_out.png")
fg, ax = plt.subplots(2, 0, figsize=(10, 20))
